package com.caigou.bean.vo;

import lombok.Data;

import java.util.List;

@Data
public class WxUserInfoVO {


    /**
     * gender : MALE
     * remark : null
     * avatar : https://thirdwx.qlogo.cn/mmopen/vi_32/WZkt0TeceSlTxXaDoibI1trvInUeHgH9jqB6vqgJticAWkoYtFZAqhyr8nibL23pqeib9qLglUOCXUSrE6oFj00ptQ/132
     * source : WECHAT_OPEN
     * blog : null
     * uuid : ondQR1h6P-e6vvNY9PNGzQP6nIoA
     * token : {"unionId":"oyIMKwTPI5uinoPrhwxIRFoqC8ZU","code":null,"openId":"ondQR1h6P-e6vvNY9PNGzQP6nIoA","screenName":null,"accessToken":"37_o1eagB1bPxT9KT76O-c48CYdobHLu70L-R-tsrU7SBdV3CKvq-aY7V0qXc2BnWZ7o-3AA6H3ubKjEXfcx1d1TTz7XXUwnrzlJ50Q3llAWxw","oauthToken":null,"userId":null,"uid":null,"macAlgorithm":null,"macKey":null,"accessCode":null,"scope":null,"idToken":null,"oauthTokenSecret":null,"expireIn":7200,"tokenType":null,"refreshToken":"37_qs6B-ViVJpYQ1dlU3UERaa1E9X5gYJHs6lTe6WpSvZMH6PB54B5K1Jb96AHvPQ3p51jsd6BIp_lHtD9kB1R54KfnVSxZCSgXkiX7QmpSsDM","oauthCallbackConfirmed":null}
     * rawUserInfo : {"country":"北马里亚纳群岛","unionid":"oyIMKwTPI5uinoPrhwxIRFoqC8ZU","province":"","city":"","openid":"ondQR1h6P-e6vvNY9PNGzQP6nIoA","sex":1,"nickname":"和光同尘","headimgurl":"https://thirdwx.qlogo.cn/mmopen/vi_32/WZkt0TeceSlTxXaDoibI1trvInUeHgH9jqB6vqgJticAWkoYtFZAqhyr8nibL23pqeib9qLglUOCXUSrE6oFj00ptQ/132","language":"zh_CN","privilege":[]}
     * nickname : 和光同尘
     * company : null
     * location : 北马里亚纳群岛--
     * email : null
     * username : 和光同尘
     */
    private String gender;
    private String remark;
    private String avatar;
    private String source;
    private String blog;
    private String uuid;
    private TokenEntity token;
    private RawUserInfoEntity rawUserInfo;
    private String nickname;
    private String company;
    private String location;
    private String email;
    private String username;

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setBlog(String blog) {
        this.blog = blog;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public void setToken(TokenEntity token) {
        this.token = token;
    }

    public void setRawUserInfo(RawUserInfoEntity rawUserInfo) {
        this.rawUserInfo = rawUserInfo;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getGender() {
        return gender;
    }

    public String getRemark() {
        return remark;
    }

    public String getAvatar() {
        return avatar;
    }

    public String getSource() {
        return source;
    }

    public String getBlog() {
        return blog;
    }

    public String getUuid() {
        return uuid;
    }

    public TokenEntity getToken() {
        return token;
    }

    public RawUserInfoEntity getRawUserInfo() {
        return rawUserInfo;
    }

    public String getNickname() {
        return nickname;
    }

    public String getCompany() {
        return company;
    }

    public String getLocation() {
        return location;
    }

    public String getEmail() {
        return email;
    }

    public String getUsername() {
        return username;
    }

    public class TokenEntity {
        /**
         * unionId : oyIMKwTPI5uinoPrhwxIRFoqC8ZU
         * code : null
         * openId : ondQR1h6P-e6vvNY9PNGzQP6nIoA
         * screenName : null
         * accessToken : 37_o1eagB1bPxT9KT76O-c48CYdobHLu70L-R-tsrU7SBdV3CKvq-aY7V0qXc2BnWZ7o-3AA6H3ubKjEXfcx1d1TTz7XXUwnrzlJ50Q3llAWxw
         * oauthToken : null
         * userId : null
         * uid : null
         * macAlgorithm : null
         * macKey : null
         * accessCode : null
         * scope : null
         * idToken : null
         * oauthTokenSecret : null
         * expireIn : 7200
         * tokenType : null
         * refreshToken : 37_qs6B-ViVJpYQ1dlU3UERaa1E9X5gYJHs6lTe6WpSvZMH6PB54B5K1Jb96AHvPQ3p51jsd6BIp_lHtD9kB1R54KfnVSxZCSgXkiX7QmpSsDM
         * oauthCallbackConfirmed : null
         */
        private String unionId;
        private String code;
        private String openId;
        private String screenName;
        private String accessToken;
        private String oauthToken;
        private String userId;
        private String uid;
        private String macAlgorithm;
        private String macKey;
        private String accessCode;
        private String scope;
        private String idToken;
        private String oauthTokenSecret;
        private int expireIn;
        private String tokenType;
        private String refreshToken;
        private String oauthCallbackConfirmed;

        public void setUnionId(String unionId) {
            this.unionId = unionId;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public void setOpenId(String openId) {
            this.openId = openId;
        }

        public void setScreenName(String screenName) {
            this.screenName = screenName;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        public void setOauthToken(String oauthToken) {
            this.oauthToken = oauthToken;
        }

        public void setUserId(String userId) {
            this.userId = userId;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public void setMacAlgorithm(String macAlgorithm) {
            this.macAlgorithm = macAlgorithm;
        }

        public void setMacKey(String macKey) {
            this.macKey = macKey;
        }

        public void setAccessCode(String accessCode) {
            this.accessCode = accessCode;
        }

        public void setScope(String scope) {
            this.scope = scope;
        }

        public void setIdToken(String idToken) {
            this.idToken = idToken;
        }

        public void setOauthTokenSecret(String oauthTokenSecret) {
            this.oauthTokenSecret = oauthTokenSecret;
        }

        public void setExpireIn(int expireIn) {
            this.expireIn = expireIn;
        }

        public void setTokenType(String tokenType) {
            this.tokenType = tokenType;
        }

        public void setRefreshToken(String refreshToken) {
            this.refreshToken = refreshToken;
        }

        public void setOauthCallbackConfirmed(String oauthCallbackConfirmed) {
            this.oauthCallbackConfirmed = oauthCallbackConfirmed;
        }

        public String getUnionId() {
            return unionId;
        }

        public String getCode() {
            return code;
        }

        public String getOpenId() {
            return openId;
        }

        public String getScreenName() {
            return screenName;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public String getOauthToken() {
            return oauthToken;
        }

        public String getUserId() {
            return userId;
        }

        public String getUid() {
            return uid;
        }

        public String getMacAlgorithm() {
            return macAlgorithm;
        }

        public String getMacKey() {
            return macKey;
        }

        public String getAccessCode() {
            return accessCode;
        }

        public String getScope() {
            return scope;
        }

        public String getIdToken() {
            return idToken;
        }

        public String getOauthTokenSecret() {
            return oauthTokenSecret;
        }

        public int getExpireIn() {
            return expireIn;
        }

        public String getTokenType() {
            return tokenType;
        }

        public String getRefreshToken() {
            return refreshToken;
        }

        public String getOauthCallbackConfirmed() {
            return oauthCallbackConfirmed;
        }
    }

    public class RawUserInfoEntity {
        /**
         * country : 北马里亚纳群岛
         * unionid : oyIMKwTPI5uinoPrhwxIRFoqC8ZU
         * province :
         * city :
         * openid : ondQR1h6P-e6vvNY9PNGzQP6nIoA
         * sex : 1
         * nickname : 和光同尘
         * headimgurl : https://thirdwx.qlogo.cn/mmopen/vi_32/WZkt0TeceSlTxXaDoibI1trvInUeHgH9jqB6vqgJticAWkoYtFZAqhyr8nibL23pqeib9qLglUOCXUSrE6oFj00ptQ/132
         * language : zh_CN
         * privilege : []
         */
        private String country;
        private String unionid;
        private String province;
        private String city;
        private String openid;
        private int sex;
        private String nickname;
        private String headimgurl;
        private String language;
        private List<?> privilege;

        public void setCountry(String country) {
            this.country = country;
        }

        public void setUnionid(String unionid) {
            this.unionid = unionid;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public void setOpenid(String openid) {
            this.openid = openid;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setHeadimgurl(String headimgurl) {
            this.headimgurl = headimgurl;
        }

        public void setLanguage(String language) {
            this.language = language;
        }

        public void setPrivilege(List<?> privilege) {
            this.privilege = privilege;
        }

        public String getCountry() {
            return country;
        }

        public String getUnionid() {
            return unionid;
        }

        public String getProvince() {
            return province;
        }

        public String getCity() {
            return city;
        }

        public String getOpenid() {
            return openid;
        }

        public int getSex() {
            return sex;
        }

        public String getNickname() {
            return nickname;
        }

        public String getHeadimgurl() {
            return headimgurl;
        }

        public String getLanguage() {
            return language;
        }

        public List<?> getPrivilege() {
            return privilege;
        }
    }
}
